/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package web.dynamic.client;

import web.app.client.Module;
import web.dynamic.client.resources.Resources;

import com.extjs.gxt.ui.client.widget.Component;
import com.extjs.gxt.ui.client.widget.menu.Menu;
import com.google.gwt.user.client.ui.AbstractImagePrototype;

/**
 *
 * @author michael
 */
public class DynamicModule implements Module {

    

    public DynamicModule() {
    }

    public String getName() {
        return "mail";
    }

    public AbstractImagePrototype getIcon() {
        return Resources.ICONS.moduleIcon();
    }

    public Menu getMenu() {
        return null;
    }


    Manager manager = null;
    public Component getUI() {
    	if(manager == null)
    		manager = new Manager();
        return manager;
    }


}
